package com.hehao.java_basic.proxy.jdk.static_;

/**
 * @author Damon
 * @date 2022/10/20
 */
public class StaticProxyMain {
    public static void main(String[] args) {
        KingstonTaoBao kingstonTaoBao = new KingstonTaoBao();
        System.out.println("taobao Price:"+ kingstonTaoBao.usbSell(1));
        System.out.println("=========================================");
        KingstonWeChat kingstonWeChat = new KingstonWeChat();
        System.out.println("wechat Price:"+ kingstonWeChat.usbSell(1));

        System.out.println("++++++++++++++++++++++++++++++++++++++++++++++++++++++");

        SandiTaoBao sandiTaoBao = new SandiTaoBao();
        System.out.println("taobao Price:"+ sandiTaoBao.usbSell(1));
        System.out.println("=========================================");
        SandiWeChat sandiWeChat = new SandiWeChat();
        System.out.println("wechat Price:"+ sandiWeChat.usbSell(1));
    }
}
